Skip to content
v2.278.0

IntegrationCredentialProperty Struct ​

Write-only API-key credential material for the integration.

Stored encrypted and never returned on read.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cloudwatch as cloudwatch } from 'aws-cdk-lib';
const integrationCredentialProperty: cloudwatch.CfnIntegration.IntegrationCredentialProperty = {
  apiKeyCredential: {
    apiKeyValue: 'apiKeyValue',
  },
};
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_cloudwatch as cloudwatch

integration_credential_property = cloudwatch.CfnIntegration.IntegrationCredentialProperty(
    api_key_credential=cloudwatch.CfnIntegration.ApiKeyCredentialProperty(
        api_key_value="apiKeyValue"
    )
)
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.cloudwatch.*;

IntegrationCredentialProperty integrationCredentialProperty = IntegrationCredentialProperty.builder()
        .apiKeyCredential(ApiKeyCredentialProperty.builder()
                .apiKeyValue("apiKeyValue")
                .build())
        .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.CloudWatch;

var integrationCredentialProperty = new IntegrationCredentialProperty {
    ApiKeyCredential = new ApiKeyCredentialProperty {
        ApiKeyValue = "apiKeyValue"
    }
};
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"

integrationCredentialProperty := &IntegrationCredentialProperty{
	ApiKeyCredential: &ApiKeyCredentialProperty{
		ApiKeyValue: jsii.String("apiKeyValue"),
	},
}

Properties ​

apiKeyCredentialIResolvable | CfnIntegration.ApiKeyCredentialPropertyapi_key_credentialtyping.Union[IResolvable, ApiKeyCredentialProperty]apiKeyCredentialIResolvableApiKeyCredentialIResolvableApiKeyCredentialinterface{} required #
API-key credential material that can be rotated in place on update.