lacework.IntegrationEcr
Explore with Pulumi AI
Import
A Lacework ECR integration can be imported using a INT_GUID
, e.g.
$ pulumi import lacework:index/integrationEcr:IntegrationEcr 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 IntegrationEcr Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IntegrationEcr(name: string, args: IntegrationEcrArgs, opts?: CustomResourceOptions);
@overload
def IntegrationEcr(resource_name: str,
args: IntegrationEcrArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IntegrationEcr(resource_name: str,
opts: Optional[ResourceOptions] = None,
credentials: Optional[IntegrationEcrCredentialsArgs] = None,
registry_domain: Optional[str] = None,
enabled: Optional[bool] = None,
integration_ecr_id: Optional[str] = None,
limit_by_labels: Optional[Sequence[IntegrationEcrLimitByLabelArgs]] = 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 NewIntegrationEcr(ctx *Context, name string, args IntegrationEcrArgs, opts ...ResourceOption) (*IntegrationEcr, error)
public IntegrationEcr(string name, IntegrationEcrArgs args, CustomResourceOptions? opts = null)
public IntegrationEcr(String name, IntegrationEcrArgs args)
public IntegrationEcr(String name, IntegrationEcrArgs args, CustomResourceOptions options)
type: lacework:IntegrationEcr
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 IntegrationEcrArgs
- 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 IntegrationEcrArgs
- 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 IntegrationEcrArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IntegrationEcrArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IntegrationEcrArgs
- 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 integrationEcrResource = new Lacework.IntegrationEcr("integrationEcrResource", new()
{
Credentials = new Lacework.Inputs.IntegrationEcrCredentialsArgs
{
AccessKeyId = "string",
ExternalId = "string",
RoleArn = "string",
SecretAccessKey = "string",
},
RegistryDomain = "string",
Enabled = false,
IntegrationEcrId = "string",
LimitByLabels = new[]
{
new Lacework.Inputs.IntegrationEcrLimitByLabelArgs
{
Key = "string",
Value = "string",
},
},
LimitByRepositories = new[]
{
"string",
},
LimitByTags = new[]
{
"string",
},
LimitNumImgs = 0,
Name = "string",
NonOsPackageSupport = false,
});
example, err := lacework.NewIntegrationEcr(ctx, "integrationEcrResource", &lacework.IntegrationEcrArgs{
Credentials: &lacework.IntegrationEcrCredentialsArgs{
AccessKeyId: pulumi.String("string"),
ExternalId: pulumi.String("string"),
RoleArn: pulumi.String("string"),
SecretAccessKey: pulumi.String("string"),
},
RegistryDomain: pulumi.String("string"),
Enabled: pulumi.Bool(false),
IntegrationEcrId: pulumi.String("string"),
LimitByLabels: lacework.IntegrationEcrLimitByLabelArray{
&lacework.IntegrationEcrLimitByLabelArgs{
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 integrationEcrResource = new IntegrationEcr("integrationEcrResource", IntegrationEcrArgs.builder()
.credentials(IntegrationEcrCredentialsArgs.builder()
.accessKeyId("string")
.externalId("string")
.roleArn("string")
.secretAccessKey("string")
.build())
.registryDomain("string")
.enabled(false)
.integrationEcrId("string")
.limitByLabels(IntegrationEcrLimitByLabelArgs.builder()
.key("string")
.value("string")
.build())
.limitByRepositories("string")
.limitByTags("string")
.limitNumImgs(0)
.name("string")
.nonOsPackageSupport(false)
.build());
integration_ecr_resource = lacework.IntegrationEcr("integrationEcrResource",
credentials={
"access_key_id": "string",
"external_id": "string",
"role_arn": "string",
"secret_access_key": "string",
},
registry_domain="string",
enabled=False,
integration_ecr_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 integrationEcrResource = new lacework.IntegrationEcr("integrationEcrResource", {
credentials: {
accessKeyId: "string",
externalId: "string",
roleArn: "string",
secretAccessKey: "string",
},
registryDomain: "string",
enabled: false,
integrationEcrId: "string",
limitByLabels: [{
key: "string",
value: "string",
}],
limitByRepositories: ["string"],
limitByTags: ["string"],
limitNumImgs: 0,
name: "string",
nonOsPackageSupport: false,
});
type: lacework:IntegrationEcr
properties:
credentials:
accessKeyId: string
externalId: string
roleArn: string
secretAccessKey: string
enabled: false
integrationEcrId: string
limitByLabels:
- key: string
value: string
limitByRepositories:
- string
limitByTags:
- string
limitNumImgs: 0
name: string
nonOsPackageSupport: false
registryDomain: string
IntegrationEcr 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 IntegrationEcr resource accepts the following input properties:
- Credentials
Integration
Ecr Credentials - The credentials needed by the integration. See Credentials below for details.
- Registry
Domain string - The Amazon Container Registry (ECR) domain in the format
YourAWSAccount.dkr.ecr.YourRegion.amazonaws.com
, whereYourAWSAcount
is the AWS account number for the AWS IAM user that has a role with permissions to access the ECR andYourRegion
is your AWS region such asus-west-2
. - Enabled bool
- The state of the external integration. Defaults to
true
. - Integration
Ecr stringId - Limit
By List<IntegrationLabels Ecr 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 ECR integration name.
- Non
Os boolPackage Support - Enable program language scanning. Defaults to
true
.
- Credentials
Integration
Ecr Credentials Args - The credentials needed by the integration. See Credentials below for details.
- Registry
Domain string - The Amazon Container Registry (ECR) domain in the format
YourAWSAccount.dkr.ecr.YourRegion.amazonaws.com
, whereYourAWSAcount
is the AWS account number for the AWS IAM user that has a role with permissions to access the ECR andYourRegion
is your AWS region such asus-west-2
. - Enabled bool
- The state of the external integration. Defaults to
true
. - Integration
Ecr stringId - Limit
By []IntegrationLabels Ecr 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 ECR integration name.
- Non
Os boolPackage Support - Enable program language scanning. Defaults to
true
.
- credentials
Integration
Ecr Credentials - The credentials needed by the integration. See Credentials below for details.
- registry
Domain String - The Amazon Container Registry (ECR) domain in the format
YourAWSAccount.dkr.ecr.YourRegion.amazonaws.com
, whereYourAWSAcount
is the AWS account number for the AWS IAM user that has a role with permissions to access the ECR andYourRegion
is your AWS region such asus-west-2
. - enabled Boolean
- The state of the external integration. Defaults to
true
. - integration
Ecr StringId - limit
By List<IntegrationLabels Ecr 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 ECR integration name.
- non
Os BooleanPackage Support - Enable program language scanning. Defaults to
true
.
- credentials
Integration
Ecr Credentials - The credentials needed by the integration. See Credentials below for details.
- registry
Domain string - The Amazon Container Registry (ECR) domain in the format
YourAWSAccount.dkr.ecr.YourRegion.amazonaws.com
, whereYourAWSAcount
is the AWS account number for the AWS IAM user that has a role with permissions to access the ECR andYourRegion
is your AWS region such asus-west-2
. - enabled boolean
- The state of the external integration. Defaults to
true
. - integration
Ecr stringId - limit
By IntegrationLabels Ecr 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 ECR integration name.
- non
Os booleanPackage Support - Enable program language scanning. Defaults to
true
.
- credentials
Integration
Ecr Credentials Args - The credentials needed by the integration. See Credentials below for details.
- registry_
domain str - The Amazon Container Registry (ECR) domain in the format
YourAWSAccount.dkr.ecr.YourRegion.amazonaws.com
, whereYourAWSAcount
is the AWS account number for the AWS IAM user that has a role with permissions to access the ECR andYourRegion
is your AWS region such asus-west-2
. - enabled bool
- The state of the external integration. Defaults to
true
. - integration_
ecr_ strid - limit_
by_ Sequence[Integrationlabels Ecr 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 ECR 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 Amazon Container Registry (ECR) domain in the format
YourAWSAccount.dkr.ecr.YourRegion.amazonaws.com
, whereYourAWSAcount
is the AWS account number for the AWS IAM user that has a role with permissions to access the ECR andYourRegion
is your AWS region such asus-west-2
. - enabled Boolean
- The state of the external integration. Defaults to
true
. - integration
Ecr 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 ECR 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 IntegrationEcr resource produces the following output properties:
- Aws
Auth stringType - Authentication method of the ECR integration
- 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 - Whether or not this integration is configured at the Organization level
- Type
Name string
- Aws
Auth stringType - Authentication method of the ECR integration
- 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 - Whether or not this integration is configured at the Organization level
- Type
Name string
- aws
Auth StringType - Authentication method of the ECR integration
- 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 - Whether or not this integration is configured at the Organization level
- type
Name String
- aws
Auth stringType - Authentication method of the ECR integration
- 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 - Whether or not this integration is configured at the Organization level
- type
Name string
- aws_
auth_ strtype - Authentication method of the ECR integration
- 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 - Whether or not this integration is configured at the Organization level
- type_
name str
- aws
Auth StringType - Authentication method of the ECR integration
- 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 - Whether or not this integration is configured at the Organization level
- type
Name String
Look up Existing IntegrationEcr Resource
Get an existing IntegrationEcr 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?: IntegrationEcrState, opts?: CustomResourceOptions): IntegrationEcr
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
aws_auth_type: Optional[str] = None,
created_or_updated_by: Optional[str] = None,
created_or_updated_time: Optional[str] = None,
credentials: Optional[IntegrationEcrCredentialsArgs] = None,
enabled: Optional[bool] = None,
integration_ecr_id: Optional[str] = None,
intg_guid: Optional[str] = None,
limit_by_labels: Optional[Sequence[IntegrationEcrLimitByLabelArgs]] = 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) -> IntegrationEcr
func GetIntegrationEcr(ctx *Context, name string, id IDInput, state *IntegrationEcrState, opts ...ResourceOption) (*IntegrationEcr, error)
public static IntegrationEcr Get(string name, Input<string> id, IntegrationEcrState? state, CustomResourceOptions? opts = null)
public static IntegrationEcr get(String name, Output<String> id, IntegrationEcrState state, CustomResourceOptions options)
resources: _: type: lacework:IntegrationEcr 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.
- Aws
Auth stringType - Authentication method of the ECR integration
- Created
Or stringUpdated By - Created
Or stringUpdated Time - Credentials
Integration
Ecr Credentials - The credentials needed by the integration. See Credentials below for details.
- Enabled bool
- The state of the external integration. Defaults to
true
. - Integration
Ecr stringId - Intg
Guid string - Limit
By List<IntegrationLabels Ecr 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 ECR integration name.
- Non
Os boolPackage Support - Enable program language scanning. Defaults to
true
. - Org
Level bool - Whether or not this integration is configured at the Organization level
- Registry
Domain string - The Amazon Container Registry (ECR) domain in the format
YourAWSAccount.dkr.ecr.YourRegion.amazonaws.com
, whereYourAWSAcount
is the AWS account number for the AWS IAM user that has a role with permissions to access the ECR andYourRegion
is your AWS region such asus-west-2
. - Type
Name string
- Aws
Auth stringType - Authentication method of the ECR integration
- Created
Or stringUpdated By - Created
Or stringUpdated Time - Credentials
Integration
Ecr 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
Ecr stringId - Intg
Guid string - Limit
By []IntegrationLabels Ecr 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 ECR integration name.
- Non
Os boolPackage Support - Enable program language scanning. Defaults to
true
. - Org
Level bool - Whether or not this integration is configured at the Organization level
- Registry
Domain string - The Amazon Container Registry (ECR) domain in the format
YourAWSAccount.dkr.ecr.YourRegion.amazonaws.com
, whereYourAWSAcount
is the AWS account number for the AWS IAM user that has a role with permissions to access the ECR andYourRegion
is your AWS region such asus-west-2
. - Type
Name string
- aws
Auth StringType - Authentication method of the ECR integration
- created
Or StringUpdated By - created
Or StringUpdated Time - credentials
Integration
Ecr Credentials - The credentials needed by the integration. See Credentials below for details.
- enabled Boolean
- The state of the external integration. Defaults to
true
. - integration
Ecr StringId - intg
Guid String - limit
By List<IntegrationLabels Ecr 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 ECR integration name.
- non
Os BooleanPackage Support - Enable program language scanning. Defaults to
true
. - org
Level Boolean - Whether or not this integration is configured at the Organization level
- registry
Domain String - The Amazon Container Registry (ECR) domain in the format
YourAWSAccount.dkr.ecr.YourRegion.amazonaws.com
, whereYourAWSAcount
is the AWS account number for the AWS IAM user that has a role with permissions to access the ECR andYourRegion
is your AWS region such asus-west-2
. - type
Name String
- aws
Auth stringType - Authentication method of the ECR integration
- created
Or stringUpdated By - created
Or stringUpdated Time - credentials
Integration
Ecr Credentials - The credentials needed by the integration. See Credentials below for details.
- enabled boolean
- The state of the external integration. Defaults to
true
. - integration
Ecr stringId - intg
Guid string - limit
By IntegrationLabels Ecr 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 ECR integration name.
- non
Os booleanPackage Support - Enable program language scanning. Defaults to
true
. - org
Level boolean - Whether or not this integration is configured at the Organization level
- registry
Domain string - The Amazon Container Registry (ECR) domain in the format
YourAWSAccount.dkr.ecr.YourRegion.amazonaws.com
, whereYourAWSAcount
is the AWS account number for the AWS IAM user that has a role with permissions to access the ECR andYourRegion
is your AWS region such asus-west-2
. - type
Name string
- aws_
auth_ strtype - Authentication method of the ECR integration
- created_
or_ strupdated_ by - created_
or_ strupdated_ time - credentials
Integration
Ecr 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_
ecr_ strid - intg_
guid str - limit_
by_ Sequence[Integrationlabels Ecr 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 ECR integration name.
- non_
os_ boolpackage_ support - Enable program language scanning. Defaults to
true
. - org_
level bool - Whether or not this integration is configured at the Organization level
- registry_
domain str - The Amazon Container Registry (ECR) domain in the format
YourAWSAccount.dkr.ecr.YourRegion.amazonaws.com
, whereYourAWSAcount
is the AWS account number for the AWS IAM user that has a role with permissions to access the ECR andYourRegion
is your AWS region such asus-west-2
. - type_
name str
- aws
Auth StringType - Authentication method of the ECR integration
- 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
Ecr 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 ECR integration name.
- non
Os BooleanPackage Support - Enable program language scanning. Defaults to
true
. - org
Level Boolean - Whether or not this integration is configured at the Organization level
- registry
Domain String - The Amazon Container Registry (ECR) domain in the format
YourAWSAccount.dkr.ecr.YourRegion.amazonaws.com
, whereYourAWSAcount
is the AWS account number for the AWS IAM user that has a role with permissions to access the ECR andYourRegion
is your AWS region such asus-west-2
. - type
Name String
Supporting Types
IntegrationEcrCredentials, IntegrationEcrCredentialsArgs
- Access
Key stringId - The AWS access key ID for an AWS IAM user that has a role with permissions to access the Amazon Container Registry (ECR).
- External
Id string The external ID for the IAM role.
For AWS Access Key-Based Authentication, only both of these arguments are required:
- Role
Arn string - The ARN of the IAM role with permissions to access the Amazon Container Registry (ECR).
- Secret
Access stringKey - The AWS secret key for the specified AWS access key.
- Access
Key stringId - The AWS access key ID for an AWS IAM user that has a role with permissions to access the Amazon Container Registry (ECR).
- External
Id string The external ID for the IAM role.
For AWS Access Key-Based Authentication, only both of these arguments are required:
- Role
Arn string - The ARN of the IAM role with permissions to access the Amazon Container Registry (ECR).
- Secret
Access stringKey - The AWS secret key for the specified AWS access key.
- access
Key StringId - The AWS access key ID for an AWS IAM user that has a role with permissions to access the Amazon Container Registry (ECR).
- external
Id String The external ID for the IAM role.
For AWS Access Key-Based Authentication, only both of these arguments are required:
- role
Arn String - The ARN of the IAM role with permissions to access the Amazon Container Registry (ECR).
- secret
Access StringKey - The AWS secret key for the specified AWS access key.
- access
Key stringId - The AWS access key ID for an AWS IAM user that has a role with permissions to access the Amazon Container Registry (ECR).
- external
Id string The external ID for the IAM role.
For AWS Access Key-Based Authentication, only both of these arguments are required:
- role
Arn string - The ARN of the IAM role with permissions to access the Amazon Container Registry (ECR).
- secret
Access stringKey - The AWS secret key for the specified AWS access key.
- access_
key_ strid - The AWS access key ID for an AWS IAM user that has a role with permissions to access the Amazon Container Registry (ECR).
- external_
id str The external ID for the IAM role.
For AWS Access Key-Based Authentication, only both of these arguments are required:
- role_
arn str - The ARN of the IAM role with permissions to access the Amazon Container Registry (ECR).
- secret_
access_ strkey - The AWS secret key for the specified AWS access key.
- access
Key StringId - The AWS access key ID for an AWS IAM user that has a role with permissions to access the Amazon Container Registry (ECR).
- external
Id String The external ID for the IAM role.
For AWS Access Key-Based Authentication, only both of these arguments are required:
- role
Arn String - The ARN of the IAM role with permissions to access the Amazon Container Registry (ECR).
- secret
Access StringKey - The AWS secret key for the specified AWS access key.
IntegrationEcrLimitByLabel, IntegrationEcrLimitByLabelArgs
- 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.