SsmParameterConfigurationProperty Struct
Configuration for a single Parameter in the AWS Systems Manager (SSM) Parameter Store in a given Region.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_imagebuilder as imagebuilder } from 'aws-cdk-lib';
const ssmParameterConfigurationProperty: imagebuilder.CfnDistributionConfiguration.SsmParameterConfigurationProperty = {
parameterName: 'parameterName',
// the properties below are optional
amiAccountId: 'amiAccountId',
dataType: 'dataType',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_imagebuilder as imagebuilder
ssm_parameter_configuration_property = imagebuilder.CfnDistributionConfiguration.SsmParameterConfigurationProperty(
parameter_name="parameterName",
# the properties below are optional
ami_account_id="amiAccountId",
data_type="dataType"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.imagebuilder.*;
SsmParameterConfigurationProperty ssmParameterConfigurationProperty = SsmParameterConfigurationProperty.builder()
.parameterName("parameterName")
// the properties below are optional
.amiAccountId("amiAccountId")
.dataType("dataType")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ImageBuilder;
var ssmParameterConfigurationProperty = new SsmParameterConfigurationProperty {
ParameterName = "parameterName",
// the properties below are optional
AmiAccountId = "amiAccountId",
DataType = "dataType"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
ssmParameterConfigurationProperty := &SsmParameterConfigurationProperty{
ParameterName: jsii.String("parameterName"),
// the properties below are optional
AmiAccountId: jsii.String("amiAccountId"),
DataType: jsii.String("dataType"),
}
Properties
amiAccountIdoptionalstringami_account_idoptionalstramiAccountIdoptionalStringAmiAccountIdoptionalstringAmiAccountIdoptional*string #Specify the account that will own the Parameter in a given Region.
During distribution, this account must be specified in distribution settings as a target account for the Region.
dataTypeoptionalstringdata_typeoptionalstrdataTypeoptionalStringDataTypeoptionalstringDataTypeoptional*string #The data type specifies what type of value the Parameter contains.
We recommend that you use data type aws:ec2:image .
parameterNamestringparameter_namestrparameterNameStringParameterNamestringParameterName*string required #This is the name of the Parameter in the target Region or account.
The image distribution creates the Parameter if it doesn't already exist. Otherwise, it updates the parameter.