# SecurityProfileReference

A reference to a SecurityProfile resource.

- Source: Generated at build time
- Type last changed: v2.224.0 · 13 Nov 2025

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
};
```

Golang:

```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

- `securityProfileArn`: string (required) — The ARN of the SecurityProfile resource.

- `securityProfileName`: string (required) — The SecurityProfileName of the SecurityProfile resource.
