lacework.IntegrationGcr
Explore with Pulumi AI
Import
A Lacework GCR integration can be imported using a INT_GUID
, e.g.
$ pulumi import lacework:index/integrationGcr:IntegrationGcr example EXAMPLE_1234BAE1E42182964D23973F44CFEA3C4AB63B99E9A1EC5
-> Note: To retrieve the INT_GUID
from existing integrations in your account, use the
Lacework CLI command lacework container-registry list
. To install this tool follow
this documentation.
Create IntegrationGcr Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IntegrationGcr(name: string, args: IntegrationGcrArgs, opts?: CustomResourceOptions);
@overload
def IntegrationGcr(resource_name: str,
args: IntegrationGcrArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IntegrationGcr(resource_name: str,
opts: Optional[ResourceOptions] = None,
credentials: Optional[IntegrationGcrCredentialsArgs] = None,
registry_domain: Optional[str] = None,
enabled: Optional[bool] = None,
integration_gcr_id: Optional[str] = None,
limit_by_labels: Optional[Sequence[IntegrationGcrLimitByLabelArgs]] = None,
limit_by_repositories: Optional[Sequence[str]] = None,
limit_by_tags: Optional[Sequence[str]] = None,
limit_num_imgs: Optional[float] = None,
name: Optional[str] = None,
non_os_package_support: Optional[bool] = None)
func NewIntegrationGcr(ctx *Context, name string, args IntegrationGcrArgs, opts ...ResourceOption) (*IntegrationGcr, error)
public IntegrationGcr(string name, IntegrationGcrArgs args, CustomResourceOptions? opts = null)
public IntegrationGcr(String name, IntegrationGcrArgs args)
public IntegrationGcr(String name, IntegrationGcrArgs args, CustomResourceOptions options)
type: lacework:IntegrationGcr
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args IntegrationGcrArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args IntegrationGcrArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args IntegrationGcrArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IntegrationGcrArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IntegrationGcrArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var integrationGcrResource = new Lacework.IntegrationGcr("integrationGcrResource", new()
{
Credentials = new Lacework.Inputs.IntegrationGcrCredentialsArgs
{
ClientEmail = "string",
ClientId = "string",
PrivateKey = "string",
PrivateKeyId = "string",
},
RegistryDomain = "string",
Enabled = false,
IntegrationGcrId = "string",
LimitByLabels = new[]
{
new Lacework.Inputs.IntegrationGcrLimitByLabelArgs
{
Key = "string",
Value = "string",
},
},
LimitByRepositories = new[]
{
"string",
},
LimitByTags = new[]
{
"string",
},
LimitNumImgs = 0,
Name = "string",
NonOsPackageSupport = false,
});
example, err := lacework.NewIntegrationGcr(ctx, "integrationGcrResource", &lacework.IntegrationGcrArgs{
Credentials: &lacework.IntegrationGcrCredentialsArgs{
ClientEmail: pulumi.String("string"),
ClientId: pulumi.String("string"),
PrivateKey: pulumi.String("string"),
PrivateKeyId: pulumi.String("string"),
},
RegistryDomain: pulumi.String("string"),
Enabled: pulumi.Bool(false),
IntegrationGcrId: pulumi.String("string"),
LimitByLabels: lacework.IntegrationGcrLimitByLabelArray{
&lacework.IntegrationGcrLimitByLabelArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
LimitByRepositories: pulumi.StringArray{
pulumi.String("string"),
},
LimitByTags: pulumi.StringArray{
pulumi.String("string"),
},
LimitNumImgs: pulumi.Float64(0),
Name: pulumi.String("string"),
NonOsPackageSupport: pulumi.Bool(false),
})
var integrationGcrResource = new IntegrationGcr("integrationGcrResource", IntegrationGcrArgs.builder()
.credentials(IntegrationGcrCredentialsArgs.builder()
.clientEmail("string")
.clientId("string")
.privateKey("string")
.privateKeyId("string")
.build())
.registryDomain("string")
.enabled(false)
.integrationGcrId("string")
.limitByLabels(IntegrationGcrLimitByLabelArgs.builder()
.key("string")
.value("string")
.build())
.limitByRepositories("string")
.limitByTags("string")
.limitNumImgs(0)
.name("string")
.nonOsPackageSupport(false)
.build());
integration_gcr_resource = lacework.IntegrationGcr("integrationGcrResource",
credentials={
"client_email": "string",
"client_id": "string",
"private_key": "string",
"private_key_id": "string",
},
registry_domain="string",
enabled=False,
integration_gcr_id="string",
limit_by_labels=[{
"key": "string",
"value": "string",
}],
limit_by_repositories=["string"],
limit_by_tags=["string"],
limit_num_imgs=0,
name="string",
non_os_package_support=False)
const integrationGcrResource = new lacework.IntegrationGcr("integrationGcrResource", {
credentials: {
clientEmail: "string",
clientId: "string",
privateKey: "string",
privateKeyId: "string",
},
registryDomain: "string",
enabled: false,
integrationGcrId: "string",
limitByLabels: [{
key: "string",
value: "string",
}],
limitByRepositories: ["string"],
limitByTags: ["string"],
limitNumImgs: 0,
name: "string",
nonOsPackageSupport: false,
});
type: lacework:IntegrationGcr
properties:
credentials:
clientEmail: string
clientId: string
privateKey: string
privateKeyId: string
enabled: false
integrationGcrId: string
limitByLabels:
- key: string
value: string
limitByRepositories:
- string
limitByTags:
- string
limitNumImgs: 0
name: string
nonOsPackageSupport: false
registryDomain: string
IntegrationGcr Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The IntegrationGcr resource accepts the following input properties:
- Credentials
Integration
Gcr Credentials - The credentials needed by the integration. See Credentials below for details.
- Registry
Domain string - The GCR domain, which specifies the location where you store the images. Supported domains are
gcr.io
,us.gcr.io
,eu.gcr.io
, orasia.gcr.io
. - Enabled bool
- The state of the external integration. Defaults to
true
. - Integration
Gcr stringId - Limit
By List<IntegrationLabels Gcr Limit By Label> - A list of key/value labels to limit the assessment of images. If you specify
limit_by_tags
andlimit_by_label
limits, they function as anAND
. - Limit
By List<string>Repositories - A list of repositories to assess.
- List<string>
- A list of image tags to limit the assessment of images with matching tags. If you specify
limit_by_tags
andlimit_by_labels
limits, they function as anAND
. - Limit
Num doubleImgs - The maximum number of newest container images to assess per repository. Must be one of
5
,10
, or15
. Defaults to5
. - Name string
- The GCR integration name.
- Non
Os boolPackage Support - Enable program language scanning. Defaults to
true
.
- Credentials
Integration
Gcr Credentials Args - The credentials needed by the integration. See Credentials below for details.
- Registry
Domain string - The GCR domain, which specifies the location where you store the images. Supported domains are
gcr.io
,us.gcr.io
,eu.gcr.io
, orasia.gcr.io
. - Enabled bool
- The state of the external integration. Defaults to
true
. - Integration
Gcr stringId - Limit
By []IntegrationLabels Gcr Limit By Label Args - A list of key/value labels to limit the assessment of images. If you specify
limit_by_tags
andlimit_by_label
limits, they function as anAND
. - Limit
By []stringRepositories - A list of repositories to assess.
- []string
- A list of image tags to limit the assessment of images with matching tags. If you specify
limit_by_tags
andlimit_by_labels
limits, they function as anAND
. - Limit
Num float64Imgs - The maximum number of newest container images to assess per repository. Must be one of
5
,10
, or15
. Defaults to5
. - Name string
- The GCR integration name.
- Non
Os boolPackage Support - Enable program language scanning. Defaults to
true
.
- credentials
Integration
Gcr Credentials - The credentials needed by the integration. See Credentials below for details.
- registry
Domain String - The GCR domain, which specifies the location where you store the images. Supported domains are
gcr.io
,us.gcr.io
,eu.gcr.io
, orasia.gcr.io
. - enabled Boolean
- The state of the external integration. Defaults to
true
. - integration
Gcr StringId - limit
By List<IntegrationLabels Gcr Limit By Label> - A list of key/value labels to limit the assessment of images. If you specify
limit_by_tags
andlimit_by_label
limits, they function as anAND
. - limit
By List<String>Repositories - A list of repositories to assess.
- List<String>
- A list of image tags to limit the assessment of images with matching tags. If you specify
limit_by_tags
andlimit_by_labels
limits, they function as anAND
. - limit
Num DoubleImgs - The maximum number of newest container images to assess per repository. Must be one of
5
,10
, or15
. Defaults to5
. - name String
- The GCR integration name.
- non
Os BooleanPackage Support - Enable program language scanning. Defaults to
true
.
- credentials
Integration
Gcr Credentials - The credentials needed by the integration. See Credentials below for details.
- registry
Domain string - The GCR domain, which specifies the location where you store the images. Supported domains are
gcr.io
,us.gcr.io
,eu.gcr.io
, orasia.gcr.io
. - enabled boolean
- The state of the external integration. Defaults to
true
. - integration
Gcr stringId - limit
By IntegrationLabels Gcr Limit By Label[] - A list of key/value labels to limit the assessment of images. If you specify
limit_by_tags
andlimit_by_label
limits, they function as anAND
. - limit
By string[]Repositories - A list of repositories to assess.
- string[]
- A list of image tags to limit the assessment of images with matching tags. If you specify
limit_by_tags
andlimit_by_labels
limits, they function as anAND
. - limit
Num numberImgs - The maximum number of newest container images to assess per repository. Must be one of
5
,10
, or15
. Defaults to5
. - name string
- The GCR integration name.
- non
Os booleanPackage Support - Enable program language scanning. Defaults to
true
.
- credentials
Integration
Gcr Credentials Args - The credentials needed by the integration. See Credentials below for details.
- registry_
domain str - The GCR domain, which specifies the location where you store the images. Supported domains are
gcr.io
,us.gcr.io
,eu.gcr.io
, orasia.gcr.io
. - enabled bool
- The state of the external integration. Defaults to
true
. - integration_
gcr_ strid - limit_
by_ Sequence[Integrationlabels Gcr Limit By Label Args] - A list of key/value labels to limit the assessment of images. If you specify
limit_by_tags
andlimit_by_label
limits, they function as anAND
. - limit_
by_ Sequence[str]repositories - A list of repositories to assess.
- Sequence[str]
- A list of image tags to limit the assessment of images with matching tags. If you specify
limit_by_tags
andlimit_by_labels
limits, they function as anAND
. - limit_
num_ floatimgs - The maximum number of newest container images to assess per repository. Must be one of
5
,10
, or15
. Defaults to5
. - name str
- The GCR integration name.
- non_
os_ boolpackage_ support - Enable program language scanning. Defaults to
true
.
- credentials Property Map
- The credentials needed by the integration. See Credentials below for details.
- registry
Domain String - The GCR domain, which specifies the location where you store the images. Supported domains are
gcr.io
,us.gcr.io
,eu.gcr.io
, orasia.gcr.io
. - enabled Boolean
- The state of the external integration. Defaults to
true
. - integration
Gcr StringId - limit
By List<Property Map>Labels - A list of key/value labels to limit the assessment of images. If you specify
limit_by_tags
andlimit_by_label
limits, they function as anAND
. - limit
By List<String>Repositories - A list of repositories to assess.
- List<String>
- A list of image tags to limit the assessment of images with matching tags. If you specify
limit_by_tags
andlimit_by_labels
limits, they function as anAND
. - limit
Num NumberImgs - The maximum number of newest container images to assess per repository. Must be one of
5
,10
, or15
. Defaults to5
. - name String
- The GCR integration name.
- non
Os BooleanPackage Support - Enable program language scanning. Defaults to
true
.
Outputs
All input properties are implicitly available as output properties. Additionally, the IntegrationGcr resource produces the following output properties:
- Created
Or stringUpdated By - Created
Or stringUpdated Time - Id string
- The provider-assigned unique ID for this managed resource.
- Intg
Guid string - Org
Level bool - Type
Name string
- Created
Or stringUpdated By - Created
Or stringUpdated Time - Id string
- The provider-assigned unique ID for this managed resource.
- Intg
Guid string - Org
Level bool - Type
Name string
- created
Or StringUpdated By - created
Or StringUpdated Time - id String
- The provider-assigned unique ID for this managed resource.
- intg
Guid String - org
Level Boolean - type
Name String
- created
Or stringUpdated By - created
Or stringUpdated Time - id string
- The provider-assigned unique ID for this managed resource.
- intg
Guid string - org
Level boolean - type
Name string
- created_
or_ strupdated_ by - created_
or_ strupdated_ time - id str
- The provider-assigned unique ID for this managed resource.
- intg_
guid str - org_
level bool - type_
name str
- created
Or StringUpdated By - created
Or StringUpdated Time - id String
- The provider-assigned unique ID for this managed resource.
- intg
Guid String - org
Level Boolean - type
Name String
Look up Existing IntegrationGcr Resource
Get an existing IntegrationGcr resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: IntegrationGcrState, opts?: CustomResourceOptions): IntegrationGcr
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
created_or_updated_by: Optional[str] = None,
created_or_updated_time: Optional[str] = None,
credentials: Optional[IntegrationGcrCredentialsArgs] = None,
enabled: Optional[bool] = None,
integration_gcr_id: Optional[str] = None,
intg_guid: Optional[str] = None,
limit_by_labels: Optional[Sequence[IntegrationGcrLimitByLabelArgs]] = None,
limit_by_repositories: Optional[Sequence[str]] = None,
limit_by_tags: Optional[Sequence[str]] = None,
limit_num_imgs: Optional[float] = None,
name: Optional[str] = None,
non_os_package_support: Optional[bool] = None,
org_level: Optional[bool] = None,
registry_domain: Optional[str] = None,
type_name: Optional[str] = None) -> IntegrationGcr
func GetIntegrationGcr(ctx *Context, name string, id IDInput, state *IntegrationGcrState, opts ...ResourceOption) (*IntegrationGcr, error)
public static IntegrationGcr Get(string name, Input<string> id, IntegrationGcrState? state, CustomResourceOptions? opts = null)
public static IntegrationGcr get(String name, Output<String> id, IntegrationGcrState state, CustomResourceOptions options)
resources: _: type: lacework:IntegrationGcr get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Created
Or stringUpdated By - Created
Or stringUpdated Time - Credentials
Integration
Gcr Credentials - The credentials needed by the integration. See Credentials below for details.
- Enabled bool
- The state of the external integration. Defaults to
true
. - Integration
Gcr stringId - Intg
Guid string - Limit
By List<IntegrationLabels Gcr Limit By Label> - A list of key/value labels to limit the assessment of images. If you specify
limit_by_tags
andlimit_by_label
limits, they function as anAND
. - Limit
By List<string>Repositories - A list of repositories to assess.
- List<string>
- A list of image tags to limit the assessment of images with matching tags. If you specify
limit_by_tags
andlimit_by_labels
limits, they function as anAND
. - Limit
Num doubleImgs - The maximum number of newest container images to assess per repository. Must be one of
5
,10
, or15
. Defaults to5
. - Name string
- The GCR integration name.
- Non
Os boolPackage Support - Enable program language scanning. Defaults to
true
. - Org
Level bool - Registry
Domain string - The GCR domain, which specifies the location where you store the images. Supported domains are
gcr.io
,us.gcr.io
,eu.gcr.io
, orasia.gcr.io
. - Type
Name string
- Created
Or stringUpdated By - Created
Or stringUpdated Time - Credentials
Integration
Gcr Credentials Args - The credentials needed by the integration. See Credentials below for details.
- Enabled bool
- The state of the external integration. Defaults to
true
. - Integration
Gcr stringId - Intg
Guid string - Limit
By []IntegrationLabels Gcr Limit By Label Args - A list of key/value labels to limit the assessment of images. If you specify
limit_by_tags
andlimit_by_label
limits, they function as anAND
. - Limit
By []stringRepositories - A list of repositories to assess.
- []string
- A list of image tags to limit the assessment of images with matching tags. If you specify
limit_by_tags
andlimit_by_labels
limits, they function as anAND
. - Limit
Num float64Imgs - The maximum number of newest container images to assess per repository. Must be one of
5
,10
, or15
. Defaults to5
. - Name string
- The GCR integration name.
- Non
Os boolPackage Support - Enable program language scanning. Defaults to
true
. - Org
Level bool - Registry
Domain string - The GCR domain, which specifies the location where you store the images. Supported domains are
gcr.io
,us.gcr.io
,eu.gcr.io
, orasia.gcr.io
. - Type
Name string
- created
Or StringUpdated By - created
Or StringUpdated Time - credentials
Integration
Gcr Credentials - The credentials needed by the integration. See Credentials below for details.
- enabled Boolean
- The state of the external integration. Defaults to
true
. - integration
Gcr StringId - intg
Guid String - limit
By List<IntegrationLabels Gcr Limit By Label> - A list of key/value labels to limit the assessment of images. If you specify
limit_by_tags
andlimit_by_label
limits, they function as anAND
. - limit
By List<String>Repositories - A list of repositories to assess.
- List<String>
- A list of image tags to limit the assessment of images with matching tags. If you specify
limit_by_tags
andlimit_by_labels
limits, they function as anAND
. - limit
Num DoubleImgs - The maximum number of newest container images to assess per repository. Must be one of
5
,10
, or15
. Defaults to5
. - name String
- The GCR integration name.
- non
Os BooleanPackage Support - Enable program language scanning. Defaults to
true
. - org
Level Boolean - registry
Domain String - The GCR domain, which specifies the location where you store the images. Supported domains are
gcr.io
,us.gcr.io
,eu.gcr.io
, orasia.gcr.io
. - type
Name String
- created
Or stringUpdated By - created
Or stringUpdated Time - credentials
Integration
Gcr Credentials - The credentials needed by the integration. See Credentials below for details.
- enabled boolean
- The state of the external integration. Defaults to
true
. - integration
Gcr stringId - intg
Guid string - limit
By IntegrationLabels Gcr Limit By Label[] - A list of key/value labels to limit the assessment of images. If you specify
limit_by_tags
andlimit_by_label
limits, they function as anAND
. - limit
By string[]Repositories - A list of repositories to assess.
- string[]
- A list of image tags to limit the assessment of images with matching tags. If you specify
limit_by_tags
andlimit_by_labels
limits, they function as anAND
. - limit
Num numberImgs - The maximum number of newest container images to assess per repository. Must be one of
5
,10
, or15
. Defaults to5
. - name string
- The GCR integration name.
- non
Os booleanPackage Support - Enable program language scanning. Defaults to
true
. - org
Level boolean - registry
Domain string - The GCR domain, which specifies the location where you store the images. Supported domains are
gcr.io
,us.gcr.io
,eu.gcr.io
, orasia.gcr.io
. - type
Name string
- created_
or_ strupdated_ by - created_
or_ strupdated_ time - credentials
Integration
Gcr Credentials Args - The credentials needed by the integration. See Credentials below for details.
- enabled bool
- The state of the external integration. Defaults to
true
. - integration_
gcr_ strid - intg_
guid str - limit_
by_ Sequence[Integrationlabels Gcr Limit By Label Args] - A list of key/value labels to limit the assessment of images. If you specify
limit_by_tags
andlimit_by_label
limits, they function as anAND
. - limit_
by_ Sequence[str]repositories - A list of repositories to assess.
- Sequence[str]
- A list of image tags to limit the assessment of images with matching tags. If you specify
limit_by_tags
andlimit_by_labels
limits, they function as anAND
. - limit_
num_ floatimgs - The maximum number of newest container images to assess per repository. Must be one of
5
,10
, or15
. Defaults to5
. - name str
- The GCR integration name.
- non_
os_ boolpackage_ support - Enable program language scanning. Defaults to
true
. - org_
level bool - registry_
domain str - The GCR domain, which specifies the location where you store the images. Supported domains are
gcr.io
,us.gcr.io
,eu.gcr.io
, orasia.gcr.io
. - type_
name str
- created
Or StringUpdated By - created
Or StringUpdated Time - credentials Property Map
- The credentials needed by the integration. See Credentials below for details.
- enabled Boolean
- The state of the external integration. Defaults to
true
. - integration
Gcr StringId - intg
Guid String - limit
By List<Property Map>Labels - A list of key/value labels to limit the assessment of images. If you specify
limit_by_tags
andlimit_by_label
limits, they function as anAND
. - limit
By List<String>Repositories - A list of repositories to assess.
- List<String>
- A list of image tags to limit the assessment of images with matching tags. If you specify
limit_by_tags
andlimit_by_labels
limits, they function as anAND
. - limit
Num NumberImgs - The maximum number of newest container images to assess per repository. Must be one of
5
,10
, or15
. Defaults to5
. - name String
- The GCR integration name.
- non
Os BooleanPackage Support - Enable program language scanning. Defaults to
true
. - org
Level Boolean - registry
Domain String - The GCR domain, which specifies the location where you store the images. Supported domains are
gcr.io
,us.gcr.io
,eu.gcr.io
, orasia.gcr.io
. - type
Name String
Supporting Types
IntegrationGcrCredentials, IntegrationGcrCredentialsArgs
- Client
Email string - The service account client email.
- Client
Id string - The service account client ID.
- Private
Key string - Private
Key stringId - The service account private key ID.
- Client
Email string - The service account client email.
- Client
Id string - The service account client ID.
- Private
Key string - Private
Key stringId - The service account private key ID.
- client
Email String - The service account client email.
- client
Id String - The service account client ID.
- private
Key String - private
Key StringId - The service account private key ID.
- client
Email string - The service account client email.
- client
Id string - The service account client ID.
- private
Key string - private
Key stringId - The service account private key ID.
- client_
email str - The service account client email.
- client_
id str - The service account client ID.
- private_
key str - private_
key_ strid - The service account private key ID.
- client
Email String - The service account client email.
- client
Id String - The service account client ID.
- private
Key String - private
Key StringId - The service account private key ID.
IntegrationGcrLimitByLabel, IntegrationGcrLimitByLabelArgs
- Key string
- The key of the label.
- Value string
The value of the label.
For example, to limit by the label
key
with valuesvalue
andvalue2
, plus the labelkey1
with valuevalue
.import * as pulumi from "@pulumi/pulumi";
import pulumi
using System.Collections.Generic; using System.Linq; using Pulumi;
return await Deployment.RunAsync(() => { });
package main import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { return nil }) }
package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { } }
{}
- Key string
- The key of the label.
- Value string
The value of the label.
For example, to limit by the label
key
with valuesvalue
andvalue2
, plus the labelkey1
with valuevalue
.import * as pulumi from "@pulumi/pulumi";
import pulumi
using System.Collections.Generic; using System.Linq; using Pulumi;
return await Deployment.RunAsync(() => { });
package main import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { return nil }) }
package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { } }
{}
- key String
- The key of the label.
- value String
The value of the label.
For example, to limit by the label
key
with valuesvalue
andvalue2
, plus the labelkey1
with valuevalue
.import * as pulumi from "@pulumi/pulumi";
import pulumi
using System.Collections.Generic; using System.Linq; using Pulumi;
return await Deployment.RunAsync(() => { });
package main import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { return nil }) }
package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { } }
{}
- key string
- The key of the label.
- value string
The value of the label.
For example, to limit by the label
key
with valuesvalue
andvalue2
, plus the labelkey1
with valuevalue
.import * as pulumi from "@pulumi/pulumi";
import pulumi
using System.Collections.Generic; using System.Linq; using Pulumi;
return await Deployment.RunAsync(() => { });
package main import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { return nil }) }
package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { } }
{}
- key str
- The key of the label.
- value str
The value of the label.
For example, to limit by the label
key
with valuesvalue
andvalue2
, plus the labelkey1
with valuevalue
.import * as pulumi from "@pulumi/pulumi";
import pulumi
using System.Collections.Generic; using System.Linq; using Pulumi;
return await Deployment.RunAsync(() => { });
package main import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { return nil }) }
package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { } }
{}
- key String
- The key of the label.
- value String
The value of the label.
For example, to limit by the label
key
with valuesvalue
andvalue2
, plus the labelkey1
with valuevalue
.import * as pulumi from "@pulumi/pulumi";
import pulumi
using System.Collections.Generic; using System.Linq; using Pulumi;
return await Deployment.RunAsync(() => { });
package main import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { return nil }) }
package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { } }
{}
Package Details
- Repository
- lacework lacework/terraform-provider-lacework
- License
- Notes
- This Pulumi package is based on the
lacework
Terraform Provider.