Skip to content
v2.277.0

EntityIdentifierProperty Struct ​

Contains the identifier of an entity in a policy, including its ID and type.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_verifiedpermissions as verifiedpermissions } from 'aws-cdk-lib';
const entityIdentifierProperty: verifiedpermissions.CfnPolicy.EntityIdentifierProperty = {
  entityId: 'entityId',
  entityType: 'entityType',
};
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_verifiedpermissions as verifiedpermissions

entity_identifier_property = verifiedpermissions.CfnPolicy.EntityIdentifierProperty(
    entity_id="entityId",
    entity_type="entityType"
)
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.verifiedpermissions.*;

EntityIdentifierProperty entityIdentifierProperty = EntityIdentifierProperty.builder()
        .entityId("entityId")
        .entityType("entityType")
        .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.VerifiedPermissions;

var entityIdentifierProperty = new EntityIdentifierProperty {
    EntityId = "entityId",
    EntityType = "entityType"
};
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"

entityIdentifierProperty := &EntityIdentifierProperty{
	EntityId: jsii.String("entityId"),
	EntityType: jsii.String("entityType"),
}

Properties ​

entityIdstringentity_idstrentityIdStringEntityIdstringEntityId*stringrequired#
The identifier of an entity.

"entityId":" *identifier* "

entityTypestringentity_typestrentityTypeStringEntityTypestringEntityType*stringrequired#
The type of an entity.

Example: "entityType":" *typeName* "