pub struct ArtifactRegistryBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> ArtifactRegistryBuilder<S>
impl<S: State> ArtifactRegistryBuilder<S>
Sourcepub fn build(self) -> ArtifactRegistrywhere
S: IsComplete,
pub fn build(self) -> ArtifactRegistrywhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn replication_regions(
self,
value: Vec<String>,
) -> ArtifactRegistryBuilder<SetReplicationRegions<S>>where
S::ReplicationRegions: IsUnset,
pub fn replication_regions(
self,
value: Vec<String>,
) -> ArtifactRegistryBuilder<SetReplicationRegions<S>>where
S::ReplicationRegions: IsUnset,
Optional (Some / Option setters).
Default: <Vec<String> as Default>::default().
AWS-only: regions to replicate container images to. ECR private image replication ensures images pushed in the registry’s home region are automatically available in these additional regions (required when Lambda or other compute runs in a different region from the registry).
Sourcepub fn maybe_replication_regions(
self,
value: Option<Vec<String>>,
) -> ArtifactRegistryBuilder<SetReplicationRegions<S>>where
S::ReplicationRegions: IsUnset,
pub fn maybe_replication_regions(
self,
value: Option<Vec<String>>,
) -> ArtifactRegistryBuilder<SetReplicationRegions<S>>where
S::ReplicationRegions: IsUnset,
Optional (Some / Option setters).
Default: <Vec<String> as Default>::default().
AWS-only: regions to replicate container images to. ECR private image replication ensures images pushed in the registry’s home region are automatically available in these additional regions (required when Lambda or other compute runs in a different region from the registry).
Sourcepub fn replication_regions_input(
self,
value: String,
) -> ArtifactRegistryBuilder<SetReplicationRegionsInput<S>>where
S::ReplicationRegionsInput: IsUnset,
pub fn replication_regions_input(
self,
value: String,
) -> ArtifactRegistryBuilder<SetReplicationRegionsInput<S>>where
S::ReplicationRegionsInput: IsUnset,
Optional (Some / Option setters). AWS-only: id of a deployer-provided string-list stack input that names the regions to replicate to. CloudFormation reads the list at deploy time, so the template reserves a fixed number of region slots. Empty answers write no replication configuration, so existing installs render unchanged.
Sourcepub fn maybe_replication_regions_input(
self,
value: Option<String>,
) -> ArtifactRegistryBuilder<SetReplicationRegionsInput<S>>where
S::ReplicationRegionsInput: IsUnset,
pub fn maybe_replication_regions_input(
self,
value: Option<String>,
) -> ArtifactRegistryBuilder<SetReplicationRegionsInput<S>>where
S::ReplicationRegionsInput: IsUnset,
Optional (Some / Option setters). AWS-only: id of a deployer-provided string-list stack input that names the regions to replicate to. CloudFormation reads the list at deploy time, so the template reserves a fixed number of region slots. Empty answers write no replication configuration, so existing installs render unchanged.