Skip to content
v2.278.0

CustomerManagedPolicyReferenceProperty ​

Struct External

Specifies the name and path of a customer managed policy.

You must have an IAM policy that matches the name and path in each AWS account where you want to deploy your permission set.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sso as sso } from 'aws-cdk-lib';
const customerManagedPolicyReferenceProperty: sso.CfnPermissionSet.CustomerManagedPolicyReferenceProperty = {
  name: 'name',

  // the properties below are optional
  path: 'path',
};
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_sso as sso

customer_managed_policy_reference_property = sso.CfnPermissionSet.CustomerManagedPolicyReferenceProperty(
    name="name",

    # the properties below are optional
    path="path"
)
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.sso.*;

CustomerManagedPolicyReferenceProperty customerManagedPolicyReferenceProperty = CustomerManagedPolicyReferenceProperty.builder()
        .name("name")

        // the properties below are optional
        .path("path")
        .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.SSO;

var customerManagedPolicyReferenceProperty = new CustomerManagedPolicyReferenceProperty {
    Name = "name",

    // the properties below are optional
    Path = "path"
};
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"

customerManagedPolicyReferenceProperty := &CustomerManagedPolicyReferenceProperty{
	Name: jsii.String("name"),

	// the properties below are optional
	Path: jsii.String("path"),
}

Properties ​

namestringnamestrnameStringNamestringName*string required #
The name of the IAM policy that you have configured in each account where you want to deploy your permission set.
pathoptionalstringpathoptionalstrpathoptionalStringPathoptionalstringPathoptional*string #
The path to the IAM policy that you have configured in each account where you want to deploy your permission set.

The default is / . For more information, see Friendly names and paths in the IAM User Guide .