Class CfnRegistryPolicy.Builder
java.lang.Object
software.amazon.awscdk.services.ecr.CfnRegistryPolicy.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRegistryPolicy>
- Enclosing class:
CfnRegistryPolicy
@Stability(Stable)
public static final class CfnRegistryPolicy.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRegistryPolicy>
A fluent builder for
CfnRegistryPolicy
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnRegistryPolicy.Builder
policyText
(Object policyText) The JSON policy text for your registry.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnRegistryPolicy.Builder
.
-
policyText
The JSON policy text for your registry.- Parameters:
policyText
- The JSON policy text for your registry. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnRegistryPolicy>
- Returns:
- a newly built instance of
CfnRegistryPolicy
.
-