Class AttributeGroup
(experimental) A Service Catalog AppRegistry Attribute Group.
Inherited Members
Namespace: Amazon.CDK.AWS.Servicecatalogappregistry.Alpha
Assembly: Amazon.CDK.AWS.ServiceCatalogAppRegistry.Alpha.dll
Syntax (csharp)
public class AttributeGroup : Resource, IAttributeGroup, IResource
Syntax (vb)
Public Class AttributeGroup
Inherits Resource
Implements IAttributeGroup, IResource
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
var attributeGroup = new AttributeGroup(this, "MyFirstAttributeGroup", new AttributeGroupProps {
AttributeGroupName = "MyFirstAttributeGroupName",
Description = "description for my attribute group", // the description is optional,
Attributes = new Dictionary<string, object> {
{ "project", "foo" },
{ "team", new [] { "member1", "member2", "member3" } },
{ "public", false },
{ "stages", new Dictionary<string, string> {
{ "alpha", "complete" },
{ "beta", "incomplete" },
{ "release", "not started" }
} }
}
});
Synopsis
Constructors
AttributeGroup(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
AttributeGroup(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
AttributeGroup(Construct, String, IAttributeGroupProps) |
Properties
AttributeGroupArn | (experimental) The ARN of the attribute group. |
AttributeGroupId | (experimental) The ID of the attribute group. |
Methods
AssociateWith(IApplication) | (experimental) Associate an application with attribute group If the attribute group is already associated, it will ignore duplicate request. |
FromAttributeGroupArn(Construct, String, String) | (experimental) Imports an attribute group construct that represents an external attribute group. |
GenerateUniqueHash(String) | (experimental) Create a unique hash. |
GetAttributeGroupSharePermissionARN(IShareOptions) | (experimental) Get the correct permission ARN based on the SharePermission. |
ShareAttributeGroup(String, IShareOptions) | (experimental) Share the attribute group resource with other IAM entities, accounts, or OUs. |
Constructors
AttributeGroup(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected AttributeGroup(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
AttributeGroup(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected AttributeGroup(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
AttributeGroup(Construct, String, IAttributeGroupProps)
public AttributeGroup(Construct scope, string id, IAttributeGroupProps props)
Parameters
- scope Constructs.Construct
- id System.String
- props IAttributeGroupProps
Remarks
Stability: Experimental
Properties
AttributeGroupArn
(experimental) The ARN of the attribute group.
public virtual string AttributeGroupArn { get; }
Property Value
System.String
Remarks
Stability: Experimental
AttributeGroupId
(experimental) The ID of the attribute group.
public virtual string AttributeGroupId { get; }
Property Value
System.String
Remarks
Stability: Experimental
Methods
AssociateWith(IApplication)
(experimental) Associate an application with attribute group If the attribute group is already associated, it will ignore duplicate request.
public virtual void AssociateWith(IApplication application)
Parameters
- application IApplication
Remarks
Stability: Experimental
FromAttributeGroupArn(Construct, String, String)
(experimental) Imports an attribute group construct that represents an external attribute group.
public static IAttributeGroup FromAttributeGroupArn(Construct scope, string id, string attributeGroupArn)
Parameters
- scope Constructs.Construct
The parent creating construct (usually
this
).- id System.String
The construct's name.
- attributeGroupArn System.String
the Amazon Resource Name of the existing AppRegistry attribute group.
Returns
Remarks
Stability: Experimental
GenerateUniqueHash(String)
(experimental) Create a unique hash.
protected virtual string GenerateUniqueHash(string resourceAddress)
Parameters
- resourceAddress System.String
Returns
System.String
Remarks
Stability: Experimental
GetAttributeGroupSharePermissionARN(IShareOptions)
(experimental) Get the correct permission ARN based on the SharePermission.
protected virtual string GetAttributeGroupSharePermissionARN(IShareOptions shareOptions)
Parameters
- shareOptions IShareOptions
Returns
System.String
Remarks
Stability: Experimental
ShareAttributeGroup(String, IShareOptions)
(experimental) Share the attribute group resource with other IAM entities, accounts, or OUs.
public virtual void ShareAttributeGroup(string id, IShareOptions shareOptions)
Parameters
- id System.String
- shareOptions IShareOptions
Remarks
Stability: Experimental