Class CfnConfigurationProfile
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.appconfig.CfnConfigurationProfile
- All Implemented Interfaces:
IInspectable
,ITaggableV2
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-21T06:34:02.897Z")
@Stability(Stable)
public class CfnConfigurationProfile
extends CfnResource
implements IInspectable, ITaggableV2
The
AWS::AppConfig::ConfigurationProfile
resource creates a configuration profile that enables AWS AppConfig to access the configuration source.
Valid configuration sources include AWS Systems Manager (SSM) documents, SSM Parameter Store parameters, and Amazon S3 . A configuration profile includes the following information.
- The Uri location of the configuration data.
- The AWS Identity and Access Management ( IAM ) role that provides access to the configuration data.
- A validator for the configuration data. Available validators include either a JSON Schema or the Amazon Resource Name (ARN) of an AWS Lambda function.
AWS AppConfig requires that you create resources and deploy a configuration in the following order:
- Create an application
- Create an environment
- Create a configuration profile
- Choose a pre-defined deployment strategy or create your own
- Deploy the configuration
For more information, see AWS AppConfig in the AWS AppConfig User Guide .
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.appconfig.*; CfnConfigurationProfile cfnConfigurationProfile = CfnConfigurationProfile.Builder.create(this, "MyCfnConfigurationProfile") .applicationId("applicationId") .locationUri("locationUri") .name("name") // the properties below are optional .description("description") .kmsKeyIdentifier("kmsKeyIdentifier") .retrievalRoleArn("retrievalRoleArn") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .type("type") .validators(List.of(ValidatorsProperty.builder() .content("content") .type("type") .build())) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A fluent builder forCfnConfigurationProfile
.static interface
A validator provides a syntactic or semantic check to ensure the configuration that you want to deploy functions as intended.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionprotected
CfnConfigurationProfile
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnConfigurationProfile
(software.amazon.jsii.JsiiObjectRef objRef) CfnConfigurationProfile
(software.constructs.Construct scope, String id, CfnConfigurationProfileProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe application ID.The configuration profile ID.The Amazon Resource Name of the AWS Key Management Service key to encrypt new configuration data versions in the AWS AppConfig hosted configuration store.Tag Manager which manages the tags for this resource.A description of the configuration profile.The AWS Key Management Service key identifier (key ID, key alias, or key ARN) provided when the resource was created or updated.A URI to locate the configuration.getName()
A name for the configuration profile.The ARN of an IAM role with permission to access the configuration at the specifiedLocationUri
.getTags()
Metadata to assign to the configuration profile.getType()
The type of configurations contained in the profile.A list of methods for validating the configuration.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setApplicationId
(String value) The application ID.void
setDescription
(String value) A description of the configuration profile.void
setKmsKeyIdentifier
(String value) The AWS Key Management Service key identifier (key ID, key alias, or key ARN) provided when the resource was created or updated.void
setLocationUri
(String value) A URI to locate the configuration.void
A name for the configuration profile.void
setRetrievalRoleArn
(String value) The ARN of an IAM role with permission to access the configuration at the specifiedLocationUri
.void
Metadata to assign to the configuration profile.void
The type of configurations contained in the profile.void
setValidators
(List<Object> value) A list of methods for validating the configuration.void
setValidators
(IResolvable value) A list of methods for validating the configuration.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnConfigurationProfile
protected CfnConfigurationProfile(software.amazon.jsii.JsiiObjectRef objRef) -
CfnConfigurationProfile
protected CfnConfigurationProfile(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnConfigurationProfile
@Stability(Stable) public CfnConfigurationProfile(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnConfigurationProfileProps props) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.props
- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrConfigurationProfileId
The configuration profile ID. -
getAttrKmsKeyArn
The Amazon Resource Name of the AWS Key Management Service key to encrypt new configuration data versions in the AWS AppConfig hosted configuration store.This attribute is only used for
hosted
configuration types. To encrypt data managed in other configuration stores, see the documentation for how to specify an AWS KMS key for that particular service. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManager
in interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getApplicationId
The application ID. -
setApplicationId
The application ID. -
getLocationUri
A URI to locate the configuration.You can specify the following:.
-
setLocationUri
A URI to locate the configuration.You can specify the following:.
-
getName
A name for the configuration profile. -
setName
A name for the configuration profile. -
getDescription
A description of the configuration profile. -
setDescription
A description of the configuration profile. -
getKmsKeyIdentifier
The AWS Key Management Service key identifier (key ID, key alias, or key ARN) provided when the resource was created or updated. -
setKmsKeyIdentifier
The AWS Key Management Service key identifier (key ID, key alias, or key ARN) provided when the resource was created or updated. -
getRetrievalRoleArn
The ARN of an IAM role with permission to access the configuration at the specifiedLocationUri
. -
setRetrievalRoleArn
The ARN of an IAM role with permission to access the configuration at the specifiedLocationUri
. -
getTags
Metadata to assign to the configuration profile. -
setTags
Metadata to assign to the configuration profile. -
getType
The type of configurations contained in the profile. -
setType
The type of configurations contained in the profile. -
getValidators
A list of methods for validating the configuration. -
setValidators
A list of methods for validating the configuration. -
setValidators
A list of methods for validating the configuration.
-