Skip to content
v2.278.0

SecurityProfileReference Struct ​

A reference to a SecurityProfile resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iot as interfaces_iot } from 'aws-cdk-lib/interfaces';
const securityProfileReference: interfaces_iot.SecurityProfileReference = {
  securityProfileArn: 'securityProfileArn',
  securityProfileName: 'securityProfileName',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_iot as interfaces_iot

security_profile_reference = interfaces_iot.SecurityProfileReference(
    security_profile_arn="securityProfileArn",
    security_profile_name="securityProfileName"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.iot.*;

SecurityProfileReference securityProfileReference = SecurityProfileReference.builder()
        .securityProfileArn("securityProfileArn")
        .securityProfileName("securityProfileName")
        .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.Interfaces.IoT;

var securityProfileReference = new SecurityProfileReference {
    SecurityProfileArn = "securityProfileArn",
    SecurityProfileName = "securityProfileName"
};
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"

securityProfileReference := &SecurityProfileReference{
	SecurityProfileArn: jsii.String("securityProfileArn"),
	SecurityProfileName: jsii.String("securityProfileName"),
}

Properties ​

securityProfileArnstringsecurity_profile_arnstrsecurityProfileArnStringSecurityProfileArnstringSecurityProfileArn*string required #
The ARN of the SecurityProfile resource.
securityProfileNamestringsecurity_profile_namestrsecurityProfileNameStringSecurityProfileNamestringSecurityProfileName*string required #
The SecurityProfileName of the SecurityProfile resource.